#-------------------------------------------------
#
# Project created by QtCreator 2022-09-05T17:52:31
#
#-------------------------------------------------
# 主模块

QT       += core gui sql widgets
QT       += charts printsupport
QT       += network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

#DEFINES += QT_NO_DEBUG_OUTPUT

TARGET = ui
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


CONFIG += c++11

SOURCES += \
        YuzhiLineEdit.cpp \
        aboutsoftware.cpp \
        addnewdevice.cpp \
        addnewdye.cpp \
        addnewsample.cpp \
        analysisconfig.cpp \
        curveoptimization.cpp \
        customchartview.cpp \
        customcombobox.cpp \
        customitemdelegrate.cpp \
        customlineedit.cpp \
        custommessagebox.cpp \
        customreactionplate.cpp \
        devicemanagementui.cpp \
        doubleclicked.cpp \
        dyelibraryui.cpp \
        experimentexportui.cpp \
        experimentmethodui.cpp \
        experimentplateui.cpp \
        experimentpropertyui.cpp \
        experimentrestore.cpp \
        experimentresultui.cpp \
        experimentrunui.cpp \
        experimentui.cpp \
        global.cpp \
        main.cpp \
        maintain.cpp \
        mainwindow.cpp \
        methodmovebutton.cpp \
        password.cpp \
        pause.cpp \
        preference.cpp \
        printtool.cpp \
        resultcurvechart.cpp \
        runningselfchecking.cpp \
        samplelibraryui.cpp \
        stagestep.cpp \
        standard.cpp \
        updatedeviceinfo.cpp

HEADERS += \
        UiStruct.h \
        YuzhiLineEdit.h \
        aboutsoftware.h \
        addnewdevice.h \
        addnewdye.h \
        addnewsample.h \
        analysisconfig.h \
        curveoptimization.h \
        customchartview.h \
        customcombobox.h \
        customitemdelegrate.h \
        customlineedit.h \
        custommessagebox.h \
        customreactionplate.h \
        devicemanagementui.h \
        doubleclicked.h \
        dyelibraryui.h \
        experimentexportui.h \
        experimentmethodui.h \
        experimentplateui.h \
        experimentpropertyui.h \
        experimentrestore.h \
        experimentresultui.h \
        experimentrunui.h \
        experimentui.h \
        global.h \
        maintain.h \
        mainwindow.h \
        methodmovebutton.h \
        password.h \
        pause.h \
        preference.h \
        printtool.h \
        resultcurvechart.h \
        runningselfchecking.h \
        samplelibraryui.h \
        softwareinfomation.h \
        stagestep.h \
        standard.h \
        updatedeviceinfo.h

FORMS += \
        aboutsoftware.ui \
        addnewdevice.ui \
        addnewdye.ui \
        addnewsample.ui \
        analysisconfig.ui \
        curveoptimization.ui \
        devicemanagementui.ui \
        doubleclicked.ui \
        dyelibraryui.ui \
        experimentexportui.ui \
        experimentmethodui.ui \
        experimentplateui.ui \
        experimentpropertyui.ui \
        experimentrestore.ui \
        experimentresultui.ui \
        experimentrunui.ui \
        experimentui.ui \
        maintain.ui \
        mainwindow.ui \
        password.ui \
        pause.ui \
        preference.ui \
        printtool.ui \
        runningselfchecking.ui \
        samplelibraryui.ui \
        stagestep.ui \
        standard.ui \
        updatedeviceinfo.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target



RESOURCES += \
    static.qrc



DISTFILES += \
    logo.ico \
    logo.rc

RC_FILE += logo.rc

#LIBS += "$$PWD/../analyse.dll"

win32:CONFIG(release, debug|release): LIBS += "$$OUT_PWD/../ui/release/analyse.dll"
else:win32:CONFIG(debug, debug|release): LIBS += "$$OUT_PWD/../ui/debug/analyse.dll"


win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../network/release/ -lnetwork
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../network/debug/ -lnetwork
else:unix: LIBS += -L$$OUT_PWD/../network/ -lnetwork

INCLUDEPATH += $$PWD/../network
DEPENDPATH += $$PWD/../network

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../network/release/libnetwork.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../network/debug/libnetwork.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../network/release/network.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../network/debug/network.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../network/libnetwork.a

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../proc/release/ -lproc
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../proc/debug/ -lproc
else:unix: LIBS += -L$$OUT_PWD/../proc/ -lproc

INCLUDEPATH += $$PWD/../proc
DEPENDPATH += $$PWD/../proc

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../proc/release/libproc.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../proc/debug/libproc.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../proc/release/proc.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../proc/debug/proc.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../proc/libproc.a

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../service/release/ -lservice
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../service/debug/ -lservice
else:unix: LIBS += -L$$OUT_PWD/../service/ -lservice

INCLUDEPATH += $$PWD/../service
DEPENDPATH += $$PWD/../service

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../service/release/libservice.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../service/debug/libservice.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../service/release/service.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../service/debug/service.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../service/libservice.a

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../util/release/ -lutil
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../util/debug/ -lutil
else:unix: LIBS += -L$$OUT_PWD/../util/ -lutil

INCLUDEPATH += $$PWD/../util
DEPENDPATH += $$PWD/../util

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../util/release/libutil.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../util/debug/libutil.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../util/release/util.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../util/debug/util.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../util/libutil.a

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../expLog/release/ -lexpLog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../expLog/debug/ -lexpLog
else:unix: LIBS += -L$$OUT_PWD/../expLog/ -lexpLog

INCLUDEPATH += $$PWD/../expLog
DEPENDPATH += $$PWD/../expLog

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../expLog/release/libexpLog.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../expLog/debug/libexpLog.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../expLog/release/expLog.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../expLog/debug/expLog.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../expLog/libexpLog.a
